import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import './assets/css/common.css'
import './assets/js/phone'
import '../public/font/iconfont.css'
import * as api from './api/index'
import BaiduMap from 'vue-baidu-map'

import VueProgress from 'vue-progress'
Vue.use(VueProgress)

import contenteditable from 'vue-contenteditable'//文本编辑
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.use(contenteditable)
Vue.use(BaiduMap, {
  ak: '3zcvEuKkNt3iuZLwOHyvjvWWE0I57lTr'
})
Vue.config.productionTip = false
Vue.prototype.api=api

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
